package com.iwdnb.gkgz.job;

import com.iwdnb.gkgz.application.service.TulongdaoService;
import com.iwdnb.job.annotation.Job;
import com.iwdnb.job.handler.BaseJobHandler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 测试任务
 */
@Slf4j
@Job(cron = "10 * * * * ?")
public class TestJob extends BaseJobHandler {

    @Autowired
    private TulongdaoService tulongdaoService;

    @Override
    public boolean doProcess(String parameter) {
        log.info("testJob work.");
        return true;
    }
}
